#ifndef INBOX_H
#define INBOX_H
//  File:         Inbox.h
//  Author:       Scott Nordmann & Lauren Wallace
//  Description:  A class definition for the Inbox.
#include <vector>
#include<fstream>

class Entry;

class Inbox
{
public:
	Inbox();
	Inbox(std::ifstream& ifsave);
	void shutDown(std::ofstream& ofsave);
	std::vector<Entry*>* getSent();
	std::vector<Entry*>* getReceived();
	std::vector<Entry*>* checkMail();
	void sendMail(Entry* mail);
private:
	std::vector<Entry*> sent;
	std::vector<Entry*> received;
};
inline std::vector<Entry*>* Inbox::getSent(){return &sent;}
inline std::vector<Entry*>* Inbox::getReceived(){return &received;}
#endif